﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;
using BostonXNA.InputHandling.Input;

namespace BostonXNA.InputHandling
{
	//public class KeyboardSequence : InputSequence
	//{
	//    public KeyboardSequence()
	//    {
	//        this.currentState = new int[] { 0, 0, 0, 0 };
	//    }

	//    public bool Check( PlayerIndex player, Keys[] pressedKeys )
	//    {
	//        bool sequenceComplete = false;
	//        bool stateComplete = true;
	//        foreach ( Keys key in items[ currentState[ (int)player ] ] )
	//        {
	//            stateComplete = stateComplete && pressedKeys.Contains( key );
	//        }
	//        if ( stateComplete )
	//        {
	//            if ( currentState[ (int)player ] == lastIndex - 1 )
	//            {
	//                currentState[ (int)player ] = 0;
	//                sequenceComplete = true;
	//            }
	//            else
	//                currentState[ (int)player ]++;
	//        }
	//        return sequenceComplete;
	//    }
	//}
}
